home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 652 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  749 b 

  1. Path: server2.rz.uni-leipzig.de!news
  2. From: Gast vom MPI <gast@mpg.cns.de>
  3. Newsgroups: comp.lang.c++
  4. Subject: BC4.0--few colors with setrgbpalette()
  5. Date: 5 Jan 1996 15:43:32 GMT
  6. Organization: Max-Plank-Institute of Cognitive Neuroscience
  7. Message-ID: <4cjgv4$1r2@server2.rz.uni-leipzig.de>
  8. NNTP-Posting-Host: lisa.cns.mpg.de
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 1.22 (Windows; I; 16bit)
  13.  
  14. My problem:
  15. Few colors to chose from with
  16.     setrgbpalette( c, r,g,b ). 
  17. If I use (r,g,b) values of (i*4,0,0) with i ranging from 0 to 63 all I 
  18. get are 16 colos not 64.
  19.  
  20. Where is the bug???
  21.  
  22. Thank you in advance!
  23.  
  24. Joachim 
  25.  
  26. ----
  27. Joachim Wiese
  28. Leipzig
  29. Germany
  30. wiese@cns.mpg.de
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.